package com.jhs.kjs.service.impl;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.CustomerDTO;
import com.jhs.kjs.dto.CustomerPagingDTO;
import com.jhs.kjs.dto.CustomerUserDTO;
import com.jhs.kjs.dto.ServiceDTO;
import com.jhs.kjs.service.IAdminCompanyMngService;
import com.jhs.kjs.service.dao.IAdminCompanyMngMapper;

public class AdminCompanyMngServiceImpl implements IAdminCompanyMngService{
	
	private IAdminCompanyMngMapper mapper;
	
	public void setMapper(IAdminCompanyMngMapper mapper) {
		this.mapper = mapper;
	}
	
	@Override
	public List<CustomerPagingDTO> getCompanyList(CustomerPagingDTO param) {
		return mapper.getCompanyList(param);
	}
	
	@Override
	public CustomerPagingDTO getCompanyListCount(CustomerPagingDTO param) {
		return mapper.getCompanyListCount(param);
	}
	
	@Override
	public int regCompany(CustomerPagingDTO param) {
		return mapper.regCompany(param);
	}
	
	@Override
	public int regUser(CustomerUserDTO param) {
		return mapper.regUser(param);
	}
	
	@Override
	public CustomerPagingDTO getCompanyInfo(Map<String, String> param) {
		return mapper.getCompanyInfo(param);
	}
	
	@Override
	public int getDupCheck(Map<String, String> param) {
		return mapper.getDupCheck(param);
	}
	
	@Override
	public List<CustomerDTO> getSearchName(Map<String, String> param) {
		return mapper.getSearchName(param);
	}
	
	@Override
	public List<ServiceDTO> getServiceName(Map<String, Long> param) {
		return mapper.getServiceName(param);
	}
}  
